package hn.cch.async.service;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Future;

public interface AsyncService {

    public void run(long wait);

    public void sync();

    public Future<String> sync(String string);

    public void async();

    public Future<String> async(String string);

    public Future<String> async(String string, CountDownLatch countDownLatch);
}
